ISBN = input()

for i in range(1,13):
    # print('d' + str(i) + ' = ISBN[i - 1]')
    eval('d' + str(i) + ' = ISBN[i - 1]')
print(d1)
